package com.agent.history.service.Impl;

import com.agent.commons.other.MessageHistory;
import com.agent.history.mapper.MessageHistoryMapper;
import com.agent.history.service.MessageHistoryService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class MessageHistoryServiceImpl implements MessageHistoryService {
    @Resource
    private MessageHistoryMapper messageHistoryMapper;
    @Override
    public void addMessageHistory(MessageHistory message) {
        messageHistoryMapper.addMessageHistory(message);
    }
}
